package com.graduate.bssp.service;

import com.graduate.base.entity.PageInfo;
import com.graduate.bssp.entity.Movie;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 电影表 服务类
 * </p>
 *
 * @author yongqiangyao
 * @since 2018-02-05
 */
public interface IMovieService extends IService<Movie> {
    Integer selectCountList();
    List<Movie> selectMovieList(PageInfo<Movie> pageInfo);
    boolean insertFilm(Movie movie);
    Movie findById(int id);
    Integer updateFilm(Movie movie);
    Integer deleteMovieById(Integer id);
    Integer selectMovieCountList(PageInfo<Movie> pageInfo);
}
